-
Notifications
You must be signed in to change notification settings - Fork 8.2k
boards: renesas: Add support MCUBoot for ek_ra8p1 and mck_ra8t2 #97842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boards: renesas: Add support MCUBoot for ek_ra8p1 and mck_ra8t2 #97842
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add info about MCUboot usage to the board doc? Also, add Kconfig.sysbuild to board folder with the following
choice BOOTLOADER
default BOOTLOADER_MCUBOOT
endchoice
ed85ac9 to
bb5316e
Compare
Many thanks for your suggestion and the reference. I’ve added the board documentation for MCUboot. However, I prefer not to include |
thenguyenyf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Will revisit after manifest is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You still need to add Kconfig.sysbuild file. (Non-blocking)
Apply remarks to both boards.
Those should be the exception, not the general default. Also, you can create a dedicated board variant for those. |
Hi @nordicjm, @kartben — could we get your thoughts on this? |
MCUboot is optional. You can build an application for the board without MCUboot and it builds, flashes and runs fine right? So having MCUboot disabled by default is perfectly fine |
| west flash -r jlink | ||
| MCUboot bootloader |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this information applies to any board and it seems like good information to have but to have it globally rather than multiple times in different boards - which also means it's easier to maintain updating once then X times in boards - thoughts @kartben ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 -- would suggest adding an rst "snippet" boards/common/doc and the .. literalinclude it wherever needed
Update hal_renesas revision to get MCUBoot support Signed-off-by: Khoa Nguyen <[email protected]>
Add support MCUBoot for ek_ra8p1 and mck_ra8t2 Signed-off-by: Khoa Nguyen <[email protected]>
Remove storage_partition definition for Renesas ek_ra8p1, mck_ra8t2 Signed-off-by: Khoa Nguyen <[email protected]>
bb5316e to
82c35a5
Compare
|
|
thaoluonguw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you.



BOOTLOADER_MCUBOOTforSOC_RA_ENABLE_START_SECOND_COREconfigek_ra8p1andmck_ra8t2storage_partitiondefinition for Renesasek_ra8p1,mck_ra8t2in the testflash/common